package com.z.admin.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.z.admin.entity.RolePermission;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author z
 * @since 2022-02-14
 */
public interface RolePermissionMapper extends BaseMapper<RolePermission> {

    @Select("select permission_id from t_role_permission where permission_id in(#{ids})")
    List<String> selectIdList(@Param("ids") List<String> ids);
}
